package com.egoonet.dao;

import com.egoonet.dao.projections.PostIdAndTitle;
import com.egoonet.domain.Post;
import com.egoonet.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;

import java.util.List;

/**
 *
 * Created by wchi on 2017/4/20.
 */
public interface UserRepository extends JpaRepository<User, Long>, JpaSpecificationExecutor<Post>, QueryDslPredicateExecutor<Post> {
}
